package com.example.stock.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.NumberFormat;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class Week75DLineUp {

    @ExcelProperty("date")
    private String date;

    @ExcelProperty("stock")
    private String stock;

    @ExcelProperty("wg")
    @NumberFormat("#.##")
    private Integer wg;

    @ExcelProperty("tag")
    private String tag;

    @ExcelProperty("category")
    private String category;

    @ExcelProperty("close")
    private Double close;

    @ExcelProperty("week_pct")
    private Double weekPct;

    @ExcelProperty("next_week_pct")
    @NumberFormat("#.##")
    private Double nextWeekPct;

    // 分位点
    @ExcelProperty("lp")
    private Double lp;

    // 相对分位点
    @ExcelProperty("rel_lp")
    private Double relLP;

    // 15周线
    @ExcelProperty("15disPct")
    private Double w15DisPct;

    @ExcelProperty("disPct")
    private Double disPct;

    /**
     * 上次跌破15W线间隔
     */
    @ExcelProperty("last_down_75d_duration")
    private int lastDown75dDuration;
}
